﻿namespace ZL.Web.Utility.Snowflake
{
    public static class IdHelper
    {
        private static readonly IdWorker _IdWorker;

        static IdHelper()
        {
            _IdWorker = new IdWorker();
        }

        public static long GetId()
        {
            return _IdWorker.NextId();
        }
    }
}
